package com.shoppingmall.execption;

/**
 * 自定义异常类
 * 该类继承Exception或Exception的子类
 *
 */
public class UsernameNotFoundException extends RuntimeException{
    public UsernameNotFoundException() {
        super("用户名不存在");
    }

    public UsernameNotFoundException(String message) {
        super(message);
    }
}
